//package com.along.sign.config;
//
//import com.along.sign.handler.SignInterceptor;
//import com.along.sign.service.AppService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
///*
// * @Author: liujinyi
// * @DateTime: 2025/1/13 15:45
// */
//@Configuration
//public class WebConfig implements WebMvcConfigurer {
//
//    @Autowired
//    private AppService appService;
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(new SignInterceptor(appService))
//                //只拦截需要接口验签的请求
//                .addPathPatterns("/app/**");
//    }
//
//}
